package com.project.weather.dao;

import com.project.weather.pojo.SearchCityBean;
import com.project.weather.common.PageBean;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;

/**
 *<p>Title:SearchCityMapper.java</p>
 *<p>Description:城市查询信息表Dao</p>
 *@author xxx
 *@version 1.0
 *@Automatically generate by Coder in 2021-12-21 16:07
 */
@Mapper
 public interface SearchCityMapper {
	/**
    *<b>Summary: 选择性的保存数据</b>
    * insertSelective
    * @param bean
    */
	public void insertSelective(SearchCityBean bean);

	/**
    *<b>Summary: 选择性的更新数据</b>
    * updateSelective
    * @param bean
    */
	public void updateSelective(SearchCityBean bean);

	/**
    *<b>Summary: 删除数据</b>
    * delete
    * @param ids
    */
	public void delete(String[] ids);

	/**
    *<b>Summary: 分页查询数据</b>
    * pageList
    * @param pb
    * @return
    */
	public List<SearchCityBean> pageList(PageBean<SearchCityBean> pb);

	/**
    *<b>Summary: 普通查询</b>
    * list
    * @param bean
    */
	public List<SearchCityBean> list(SearchCityBean bean);

	/**
    *<b>Summary: 根据Id查询数据</b>
    * get
    * @param id
    */
	public SearchCityBean get(String id);

	/**
	 * 查询城市次数
	 * @param pb
	 * @return
	 */
    List<SearchCityBean> countPageList(PageBean<SearchCityBean> pb);
}